﻿using System;
using System.Collections.Generic;
using System.Text;

namespace LdtJudge.DataEngine.Model.XMLConfigModel.EvidenceElementConfigModel
{

    // 注意: 生成的代码可能至少需要 .NET Framework 4.5 或 .NET Core/Standard 2.0。
    /// <remarks/>
    [System.SerializableAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
    [System.Xml.Serialization.XmlRootAttribute( ElementName ="root", Namespace = "", IsNullable = false)]
    public partial class EvidenceLocationConfig
    {

        private List<Casetype> casetypeFields;
        [System.Xml.Serialization.XmlElementAttribute("casetype")]
        public List<Casetype> Casetypes
        {
            get
            {
                return this.casetypeFields;
            }
            set
            {
                this.casetypeFields = value;
            }
        }
    }

    /// <remarks/>
    [System.SerializableAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
    
    public partial class Casetype
    {

        private List<Booktype> booktypeFields;

        private string codeField;

        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("booktype")]
        public List<Booktype> Booktypes
        {
            get
            {
                return this.booktypeFields;
            }
            set
            {
                this.booktypeFields = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string code
        {
            get
            {
                return this.codeField;
            }
            set
            {
                this.codeField = value;
            }
        }
    }

    /// <remarks/>
    [System.SerializableAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
    public partial class Booktype
    {

        private Evidence evidenceField;

        private Content contentField;

        private Element elementField;

        private string codeField;

        private string pathField;

        [System.Xml.Serialization.XmlElementAttribute("evidence")]
        public Evidence Evidence
        {
            get
            {
                return this.evidenceField;
            }
            set
            {
                this.evidenceField = value;
            }
        }

        [System.Xml.Serialization.XmlElementAttribute("content")]
        public Content Content
        {
            get
            {
                return this.contentField;
            }
            set
            {
                this.contentField = value;
            }
        }

        [System.Xml.Serialization.XmlElementAttribute("element")]
        public Element Element
        {
            get
            {
                return this.elementField;
            }
            set
            {
                this.elementField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string code
        {
            get
            {
                return this.codeField;
            }
            set
            {
                this.codeField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string path
        {
            get
            {
                return this.pathField;
            }
            set
            {
                this.pathField = value;
            }
        }
    }

    /// <remarks/>
    [System.SerializableAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
    public partial class Evidence
    {

        private List<EvidenceCondition> conditionFields;

        private string pathField;

        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("condition")]
        public List<EvidenceCondition> Conditions
        {
            get
            {
                return this.conditionFields;
            }
            set
            {
                this.conditionFields = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string path
        {
            get
            {
                return this.pathField;
            }
            set
            {
                this.pathField = value;
            }
        }
    }

    /// <remarks/>
    [System.SerializableAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
    public partial class EvidenceCondition
    {

        private string nameField;

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string name
        {
            get
            {
                return this.nameField;
            }
            set
            {
                this.nameField = value;
            }
        }
    }

    /// <remarks/>
    [System.SerializableAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
    public partial class Content
    {

        private List<ContentCondition> conditionFields;

        private string pathField;

        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("condition")]
        public List<ContentCondition> Conditions
        {
            get
            {
                return this.conditionFields;
            }
            set
            {
                this.conditionFields = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string path
        {
            get
            {
                return this.pathField;
            }
            set
            {
                this.pathField = value;
            }
        }
    }

    /// <remarks/>
    [System.SerializableAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
    public partial class ContentCondition
    {

        private string nameField;

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string name
        {
            get
            {
                return this.nameField;
            }
            set
            {
                this.nameField = value;
            }
        }
    }

    /// <remarks/>
    [System.SerializableAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
    public partial class Element
    {
        private string pathField;

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string path
        {
            get
            {
                return this.pathField;
            }
            set
            {
                this.pathField = value;
            }
        }
    }
}
